﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace In.Api.Dto.HisWs
{
    public class Response4GetPayRecordsDetail
    {
        /// <summary>
        /// 处理结果代码：0-成功
        /// </summary>
        public string ResultCode { get; set; }
        /// <summary>
        /// 处理结果描述
        /// </summary>
        public string ResultDesc { get; set; }

        /// <summary>
        /// 微信发票号
        /// </summary>
        public string VirRcptNo { get; set; }

        /// <summary>
        /// 真实发票号
        /// </summary>
        public string RealRcptNo { get; set; }
        /// <summary>
        /// 发票状态：1有效 2退款 3作废
        /// </summary>
        public string InvoStatus { get; set; }

        /// <summary>
        /// 缴费单项列表
        /// </summary>
        public List<Response4GetPayRecordsDetailSubPrescItemInfo> PrescItemList { get; set; }
        
        /// <summary>
        /// 西药发药窗口
        /// </summary>
        public List<Response4GetPayRecordsDetailSubDisWinInfo> DisWinList { get; set; }
        
        /// <summary>
        /// 中药发药窗口
        /// </summary>
        public List<Response4GetPayRecordsDetailSubDisWinInfo> CMDisWinList { get; set; }
        
        /// <summary>
        /// 检查地址
        /// </summary>
        public List<Response4GetPayRecordsDetailSubAddressInfo> AddressList { get; set; }
        
        /// <summary>
        /// 材料地址
        /// </summary>
        public List<Response4GetPayRecordsDetailSubDisWinInfo> CLDisWinList { get; set; }
    }


    public class Response4GetPayRecordsDetailSubPrescItemInfo
    {
        /// <summary>
        /// 项目名称
        /// </summary>
        public string ItemName { get; set; }
        /// <summary>
        /// 项目数量
        /// </summary>
        public string Account { get; set; }
        /// <summary>
        /// 项目单价
        /// </summary>
        public string ItemPrice { get; set; }
        /// <summary>
        /// 项目单位
        /// </summary>
        public string Unit { get; set; }
        /// <summary>
        /// 项目小计
        /// </summary>
        public string Money { get; set; }
        /// <summary>
        /// 项目费用类型
        /// </summary>
        public string Type { get; set; }
    }

    public class Response4GetPayRecordsDetailSubDisWinInfo
    {
        /// <summary>
        /// 药名
        /// </summary>
        public string MedicineName { get; set; }
        /// <summary>
        /// 新流水号
        /// </summary>
        public string VisitNo { get; set; }
        /// <summary>
        /// 发药地址
        /// </summary>
        public string DisWinAdd { get; set; }
        /// <summary>
        /// 发药窗口（先不显示）
        /// </summary>
        public string DisWin { get; set; }
    }

    public class Response4GetPayRecordsDetailSubAddressInfo
    {
        /// <summary>
        /// 申请单号
        /// </summary>
        public string ExamId { get; set; }

        /// <summary>
        /// 检验/检查名
        /// </summary>
        public string ExamName { get; set; }

        /// <summary>
        /// 治疗位置 
        /// </summary>
        public string Location { get; set; }

        /// <summary>
        /// 取报告时间
        /// </summary>
        public string FetchTime { get; set; }
    }
}
